/* base */
* {
  box-sizing: border-box;
}

#Carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: max-content;
  position: relative;
  padding-bottom: 50px;
}
.Carousel-heading{
  width: 100%;
  height: 160px;
  background-color: var(--main-color);
}

.slider {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.slider-content {
  position: relative;
  width: 100%;
}

.slider-content-wrapper {
  display: flex;
  height: 1000px;
  transition: transform 0.5s ease-in-out;
}
.slider-content__item {
  flex: 1 0 100%;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  font-size: 100px;
  color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  z-index: 1;
  justify-content: center;
  font-family: "poppins", sans-serif;
}

.slider-content__item img {
  width: 100vh;
  max-width: 140vh;
  max-height: 90vh;
}

.slider-controls {
  padding: 20px;
  text-align: center;
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
  margin-top: 70vh;

  width: 100%;
  height: 100%;
  z-index: 1;
}

.slider-content__controls {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  margin-top: 40px;
}

/* Arrows */
.prev-arrow,
.next-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: rgba(0, 0, 0, 0.3);
  width: 30px;
  transition: all 0.3s;
}
.prev-arrow {
  left: 40px;
}
.next-arrow {
  right: 40px;
}

.prev-arrow:hover,
.next-arrow:hover {
  cursor: pointer;
  color: rgba(0, 0, 0, 0.7);
}

/* Dots */
.dots {
  position: absolute;
  display: flex;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0%;
  margin-top: 10px;
}

.dot {
  cursor: pointer;
  width: 9px;
  height: 9px;
  margin-right: 4px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  transition: all 0.3s;
}

.dot:last-child {
  margin-right: 0;
}
.dot:hover {
  background-color: #000000;
}
.dot--active {
  background-color: rgba(0, 0, 0, 0.5);
}

/* Buttons */
#Carousel button {
  margin-top: 40px;
  cursor: pointer;
  margin-right: 8px;
  border: none;
  border-radius: 4px;
  padding: 20px;
  background-color: var(--main-color);
  color: #fff;
  transition: all 0.5s;
  z-index: 1;
}
/* #Carousel button:last-child {
} */
#Carousel button:hover {
  background-color: var(--hover-color);
}
#Carousel button:focus {
  outline: none;
}

/* Mods */
.disabled {
  background-color: #dccfcf;
  color: #b0a8a8;
  cursor: default;
  pointer-events: none;
}

.d-none {
  display: none;
}
.active {
  opacity: 1;
}
.centered {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* MEDIA QUERIES  */
/*......................... LAPTOP DISPLAYS ...............  */
@media screen and (min-width: 930px) and (max-width: 1440px) {
  /* base */
  * {
    box-sizing: border-box;
  }

  #Carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: max-content;
    margin-top: 30px;
    padding-bottom: 50px;
  }
  .Carousel-heading{
    width: 100%;
    height: 160px;
    background-color: var(--main-color);
  }

  .slider {
    position: relative;
    height: max-content;
    width: 100%;
    overflow: hidden;
  }

  .slider-content {
    position: relative;
    width: 100%;

  }

  .slider-content-wrapper {
    display: flex;
    height: max-content;
    transition: transform 0.5s ease-in-out;
  }

  .slider-content__item {
    flex: 1 0 100%;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    font-size: 100px;
    color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    z-index: 1;
    justify-content: center;
    font-family: "poppins", sans-serif;
    padding-top: 30px;
  }

  .slider-content__item img {
    width: 100vh auto;
    max-width: 100vh;
    max-height: 80vh;
  }

  .slider-controls {
    padding: 20px;
    text-align: center;
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    margin-top: 57vh;

    width: 100%;
    height: 100%;
    z-index: 1;
  }

  .slider-content__controls {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    margin-top: 00px;
  }
  /* Arrows */
  .prev-arrow,
  .next-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: rgb(255, 255, 255);
    width: 25px;
    transition: all 0.3s;
  }
  .prev-arrow {
    left: 140px;
  }
  .next-arrow {
    right: 140px;
  }

  .prev-arrow:hover,
  .next-arrow:hover {
    cursor: pointer;
    color: rgba(0, 0, 0, 0.7);
  }

  /* Dots */
  .dots {
      display: none;
    position: absolute;
    display: flex;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0%;
    margin-top: 10px;
  }

  .dot {
      display: none;
    cursor: pointer;
    width: 9px;
    height: 9px;
    margin-right: 4px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    transition: all 0.3s;
  }

  .dot:last-child {
    margin-right: 0;
  }
  .dot:hover {
    background-color: #000000;
  }
  .dot--active {
    background-color: rgba(0, 0, 0, 0.5);
  }

  /* Buttons */
  #Carousel button {
    margin-top: 40px;
    cursor: pointer;
    margin-right: 8px;
    border: none;
    border-radius: 4px;
    padding: 20px;
    background-color: var(--main-color);
    color: #fff;
    transition: all 0.5s;
  }
  #Carousel button:last-child {
    margin-right: 0;
  }
  #Carousel button:hover {
    background-color: var(--hover-color);
  }
  #Carousel button:focus {
    outline: none;
  }

  /* Mods */
  .disabled {
    background-color: #dccfcf;
    color: #b0a8a8;
    cursor: default;
    pointer-events: none;
  }

  .d-none {
    display: none;
  }
  .active {
    opacity: 1;
  }
  .centered {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

/*SMALL  MONITORS  AND TABLETS  DISPLAYS  */
@media screen and (min-width: 770px) and (max-width: 929px) {
  /* base */
  * {
    box-sizing: border-box;
  }

  #Carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100% auto;
    margin-top: 10px;
    padding-bottom: 50px;
    margin-top: 100px;

  }

  .slider {
    position: relative;
    height: max-content;
    width: 100%;
    overflow: hidden;
  }

  .slider-content {
    position: relative;
    width: 100%;
  }

  .slider-content-wrapper {
    display: flex;
    height: max-content;
    transition: transform 0.5s ease-in-out;
  }

  
  .slider-content__item {
    flex: 1 0 100%;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    font-size: 100px;
    color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    z-index: 1;
    justify-content: center;
    font-family: "poppins", sans-serif;
  }

  .slider-content__item img {
    width: 90vh;
    max-width: 90vh;
    max-height: 70vh;
  }

  .slider-controls {
    padding: 20px;
    text-align: center;
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    margin-top: 45vh;

    width: 100%;
    height: 100%;
    z-index: 1;
  }

  .slider-content__controls {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    margin-top: -100px;
  }
  /* Arrows */
  .prev-arrow,
  .next-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: rgba(0, 0, 0, 0.9);
    width: 20px;
    transition: all 0.3s;
    margin-top: 70px;
  }
  .prev-arrow {
    left: 100px;
  }
  .next-arrow {
    right: 120px;
  }

  .prev-arrow:hover,
  .next-arrow:hover {
    cursor: pointer;
    color: rgba(0, 0, 0, 0.7);
  }

  /* Dots */
  .dots {
    position: absolute;
    display: flex;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0%;
    margin-top: 0px;
    display: none;
  }

  .dot {
    cursor: pointer;
    width: 5px;
    height: 5px;
    margin-right: 4px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    transition: all 0.3s;
    display: none;
  }

  .dot:last-child {
    margin-right: 0;
  }
  .dot:hover {
    background-color: #000000;
  }
  .dot--active {
    background-color: rgba(0, 0, 0, 0.5);
  }

  /* Buttons */
  #Carousel button {
    margin-top: 40px;
    cursor: pointer;
    margin-right: 8px;
    border: none;
    border-radius: 4px;
    padding: 15px;
    background-color: var(--main-color);
    color: #fff;
    transition: all 0.5s;
  }
  #Carousel button:last-child {
    margin-right: 0;
  }
  #Carousel button:hover {
    background-color: var(--hover-color);
  }
  #Carousel button:focus {
    outline: none;
  }

  /* Mods */
  .disabled {
    background-color: #dccfcf;
    color: #b0a8a8;
    cursor: default;
    pointer-events: none;
  }

  .d-none {
    display: none;
  }
  .active {
    opacity: 1;
  }
  .centered {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}
/* MOBILE PHONES  DISPLAYS  */
@media screen and (min-width: 320px) and (max-width: 769px) {
  /* base */
  * {
    box-sizing: border-box;
  }

  #Carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: max-content;
    margin-top: 10px;
    padding-bottom: 0px;
    margin-top: 170px;
    padding: 10px;
  }

  .slider {
    position: relative;
    height: max-content;
    width: 100%;
    overflow: hidden;
  }

  .slider-content {
    position: relative;
    width: 100%;
  }

  .slider-content-wrapper {
    display: flex;
    height: max-content;
    transition: transform 0.5s ease-in-out;
  }

  .slider-content__item {
    flex: 1 0 100%;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    font-size: 100px;
    color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    z-index: 1;
    justify-content: center;
    font-family: "poppins", sans-serif;
  }

  .slider-content__item img {
    width: 350px;
    max-width: 400px;
    max-height: 400px;

  }

  .slider-controls {
    padding: 20px;
    text-align: center;
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    margin-top: 20vh;
    width: 100%;
    height: 100%;
    z-index: 1;
  }

  .slider-content__controls {
    margin-top: -70px;
  }
  /* Arrows */
  .prev-arrow,
  .next-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: rgba(0, 0, 0, 0.9);
    width: 15px;
    transition: all 0.3s;
    margin-left: 0px;
  }
  .prev-arrow {
    left: 40px;
  }
  .next-arrow {
    right: 40px;
  }

  .prev-arrow:hover,
  .next-arrow:hover {
    cursor: pointer;
    color: rgba(0, 0, 0, 0.7);
  }

  /* Dots */
  .dots {

    position: absolute;
    display: flex;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0%;
    display: none;
  }

  .dot {
    cursor: pointer;
    width: 5px;
    height: 5px;
    margin-right: 4px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    transition: all 0.3s;
    display: none;
  }

  .dot:last-child {
    margin-right: 0;
  }
  .dot:hover {
    background-color: #000000;
  }
  .dot--active {
    background-color: rgba(0, 0, 0, 0.5);
  }

  /* Buttons */
  #Carousel button {
    margin-top: 40px;
    cursor: pointer;
    margin-right: 8px;
    border: none;
    border-radius: 4px;
    padding: 10px;
    background-color: var(--main-color);
    color: #fff;
    transition: all 0.5s;
    font-size: 10px;
  }
  #Carousel button:last-child {
    margin-right: 0;
  }
  #Carousel button:hover {
    background-color: var(--hover-color);
  }
  #Carousel button:focus {
    outline: none;
  }

  /* Mods */
  .disabled {
    background-color: #dccfcf;
    color: #b0a8a8;
    cursor: default;
    pointer-events: none;
  }

  .d-none {
    display: none;
  }
  .active {
    opacity: 1;
  }
  .centered {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}
